import { Request } from "../until/Request";
//用户列表
function getUserList(url,data){
    return Request.post(url,data);

}
//角色列表
function getRoleList(url,data){
    return Request.post(url,data)
}
//部门列表
function getDepartmentList(url,data){
    return Request.get(url,data)
}
//添加用户
function addUser(url,data){
    return Request.post(url,data)
}
//根据成员 Id 查询信息
function queryUserNews(url,data){
    return Request.post(url,data)
}
//修改用户
function ModifyUser(url,data){
    return Request.post(url,data)
}
//删除用户
function deleteUser(url,data){
    return Request.get(url,data)
}
//回收站
function cycleBinUser(url,data){
    return Request.post(url,data)
}
//还原用户
function restoreUser(url,data){
    return Request.post(url,data)
}
export {getUserList,getRoleList,getDepartmentList,addUser,queryUserNews,ModifyUser,deleteUser,cycleBinUser,restoreUser}